
import { isFn } from './isFn'

export function isMiniProgram () {
  return typeof wx !== 'undefined' && isFn(wx.openLocation);
}